<template>
  <g class="enemy">
    <Tank
      v-for="(v, k) in enemyStore.enemies"
      :key="k"
      :direction="v.direction"
      :shape="v.shape"
      :color="v.color"
      :x="x"
      :y="y"
    />
  </g>
</template>

<script setup>
  import Tank from './Tank.vue'
  import { useEnemyStore } from '@/store/enemy'

  const enemyStore = useEnemyStore()
</script>

<style lang="scss" scoped>

</style>